package com.wynn.service;

import com.wynn.pojo.User;
import com.wynn.pojo.Result;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface UserService {


    Result findByUser(String login_name, String ip);

    User getByName(String username);

    String getUserAuthorityInfo(String username) throws Exception;

    List<String> findByPerm(String name);

    void addNotice(Map<String,String> maps);

    List<Map<String, String>> selectNotice();

}
